import React from 'react';
import { BASE_ACTION_2 } from '../redux/action';
import { connect } from 'react-redux';
let count = 1;
const Child2 = ({ t }) => {
  console.log('Child2 render');
  return (
    <p>
      test child2{t}
    </p>
  );
};
// export default connect(state => ({...{t: 77 + count++}}))(Child2);
export default connect(state => ({ t: state.t }), null, null, { pure: false })(Child2);
// export default connect(state => ({...{t: 77 + count++}}))(React.memo(Child2, (n, o) => {
//   for(let key in n) {
//     if (n[key] !== o[key]) {
//       console.log(key, n[key], o[key])
//     }
//   }
//   return false
// }));